import request from '@/utils/request'
import defaultSettings from '@/settings'
import { praseStrEmpty } from '@/utils/ruoyi'

//主动缴款管理报文录入QT00信息查询
export const activePaymentManagementMessageEntryQT00Query = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/paymentBusiness/activePaymentManagement/ActivePaymentManagementMessageEntry/searchQT00`,
}


// 主动缴款管理报文录入提交
export function activePaymentManagementMessageEntrySave(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/paymentBusiness/activePaymentManagement/ActivePaymentManagementMessageEntry/save`,
    method: 'post',
    data:data
  })
}


//主动缴款管理报文查询
export const activePaymentManagementMessageQuery = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/paymentBusiness/activePaymentManagement/ActivePaymentManagementMessageQuery/search`,
}


// 主动缴款管理报文查询明细
export function activePaymentManagementMessageQueryDetail(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/paymentBusiness/activePaymentManagement/ActivePaymentManagementMessageQuery/detail`,
    method: 'get',
    params:{id:data.id}
  })
}


//主动缴款管理报文查询明细table
export const activePaymentManagementMessageQueryDetailQuery = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/paymentBusiness/activePaymentManagement/ActivePaymentManagementMessageQuery/detailTable`,
}

// 主动缴款管理报文查询应答明细
export function activePaymentManagementMessageQueryReplyDetail(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/paymentBusiness/activePaymentManagement/ActivePaymentManagementMessageQuery/replyDetail`,
    method: 'get',
    params:{id:data.id}
  })
}


//主动缴款管理报文查询应答明细table
export const activePaymentManagementMessageQueryReplyDetailQuery = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/paymentBusiness/activePaymentManagement/ActivePaymentManagementMessageQuery/repalyDetailTable`,
}


